package org.neuedu.chapter04_0616;

public class ArrayDemo03 {
    public static void main(String[] args) {
        int[] arr = {1, 3, 5, 76, 8, 4, 3, 2, 5, 7};

        for (int num : arr) {
            System.out.println(num);
        }

        for (int i = 0; i < arr.length; i++) {
            int num = arr[i];
            System.out.println(num);
        }
    }
}
